<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>考勤管理系统</title>
  <link rel="stylesheet" href="/libs/layui/css/layui.css">
  <style>
  .layui-body{
    background-color: #f2f2f2;
  }
  </style>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">考勤管理系统</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
   
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          <img src="{{sessionUser.avatar}}" class="layui-nav-img">
          {{sessionUser.userName}}
        </a>
        <dl class="layui-nav-child">
          <dd><a href="/profile">基本资料</a></dd>
          <dd><a href="/login/logout">登出</a></dd>
        </dl>
      </li>
    </ul>
  </div>
  
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item layui-nav-itemed">
          <a class="" href="javascript:;">公司管理</a>
          <dl class="layui-nav-child">
            <dd><a href="/department">部门管理</a></dd>
            <dd><a href="/employees">员工管理</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item"><a href="/equipment">设备管理</a></li>
        <li class="layui-nav-item"><a href="/notice">通知管理</a></li>
        <li class="layui-nav-item"><a href="">考勤管理</a></li>
        <li class="layui-nav-item"><a href="/setting">系统设置</a></li>
      </ul>
    </div>
  </div>
  
  <div class="layui-body">
    {% block content %} {% endblock %}
  </div>
  
  <div class="layui-footer">
    <!-- 底部固定区域 -->
    ©苏州旺满信息版权所有
  </div>
</div>
<script src="/libs/layui/layui.js"></script>
<script src="/libs/jquery/jquery.min.js" type="text/javascript"></script>
<script>
//JavaScript代码区域
layui.use('element', function(){
  var element = layui.element;
  
});
</script>
</body>
{% block footer %} {% endblock %}
</html>